package com.jywl.entity;



public class SingleConfig {
	private String projectName;
	private String javaSrc;
	private String jspSrc;
	private String jsSrc;
	private String excelSrc;
	private String author;
	private String title;
	private String classname;
	private String packagename;
	private String pkstrategy;
	private Integer searchCount;
	private String tablename;
	private String sql;
	
	private String entityFile;
	private String controllerFile;
	private String mapperInterFile;
	private String mapperXmlFile;
	private String jspFile;
	private String jsFile;
	
	
	public String getEntityFile() {
		return entityFile;
	}
	public void setEntityFile(String entityFile) {
		this.entityFile = entityFile;
	}
	public String getControllerFile() {
		return controllerFile;
	}
	public void setControllerFile(String controllerFile) {
		this.controllerFile = controllerFile;
	}
	public String getMapperInterFile() {
		return mapperInterFile;
	}
	public void setMapperInterFile(String mapperInterFile) {
		this.mapperInterFile = mapperInterFile;
	}
	public String getMapperXmlFile() {
		return mapperXmlFile;
	}
	public void setMapperXmlFile(String mapperXmlFile) {
		this.mapperXmlFile = mapperXmlFile;
	}
	public String getJspFile() {
		return jspFile;
	}
	public void setJspFile(String jspFile) {
		this.jspFile = jspFile;
	}
	public String getJsFile() {
		return jsFile;
	}
	public void setJsFile(String jsFile) {
		this.jsFile = jsFile;
	}
	public String getSql() {
		return sql;
	}
	public void setSql(String sql) {
		this.sql = sql;
	}
	public String getExcelSrc() {
		return excelSrc == null?"\\src\\main\\webapp\\resources\\excel":excelSrc;
	}
	public void setExcelSrc(String excelSrc) {
		this.excelSrc = excelSrc;
	}
	public String getTablename() {
		return tablename;
	}
	public void setTablename(String tablename) {
		this.tablename = tablename;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getClassname() {
		return classname;
	}
	public void setClassname(String classname) {
		this.classname = classname;
	}
	public String getPackagename() {
		return packagename;
	}
	public void setPackagename(String packagename) {
		this.packagename = packagename;
	}
	public String getPkstrategy() {
		return pkstrategy;
	}
	public void setPkstrategy(String pkstrategy) {
		this.pkstrategy = pkstrategy;
	}
	public Integer getSearchCount() {
		return searchCount;
	}
	public void setSearchCount(Integer searchCount) {
		this.searchCount = searchCount;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public String getJavaSrc() {
		return javaSrc==null?"\\src\\main\\java":javaSrc;
	}
	public void setJavaSrc(String javaSrc) {
		this.javaSrc = javaSrc;
	}
	public String getJspSrc() {
		return jspSrc==null?"\\src\\main\\webapp\\WEB-INF\\views":jspSrc;
	}
	public void setJspSrc(String jspSrc) {
		this.jspSrc = jspSrc;
	}
	public String getJsSrc() {
		return jsSrc == null?"\\src\\main\\webapp\\resources\\js":jsSrc;
	}
	public void setJsSrc(String jsSrc) {
		this.jsSrc = jsSrc;
	}
	@Override
	public String toString() {
		return "SingleConfig [projectName=" + projectName + ", javaSrc=" + javaSrc + ", jspSrc=" + jspSrc + ", jsSrc="
				+ jsSrc + ", excelSrc=" + excelSrc + ", author=" + author + ", title=" + title + ", classname="
				+ classname + ", packagename=" + packagename + ", pkstrategy=" + pkstrategy + ", searchCount="
				+ searchCount + ", tablename=" + tablename + ", sql=" + sql + "]";
	}
	
	
}
